package com.spring.component.auth.model;

import java.io.Serializable;

/**
 * @author liushihua
 * @since 2018年03月23日
 */
public class Role implements Serializable {

  private static final long serialVersionUID = 1L;
  private String name;
  private String code;

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getCode() {
    return code;
  }

  public void setCode(String code) {
    this.code = code;
  }

  @Override
  public String toString() {
    return "Role{" + "name='" + name + '\'' + ", code='" + code + '\'' + '}';
  }
}
